using System.Collections.Generic;

namespace Framework.StringSplit.Processors
{
    internal class SplitAsStringList : BaseStringSplitProcessor<List<string>>
    {
        public override List<string> Process(StringSplitHandler parameters, string text)
        {
            var result = (new SplitAsStringArrayProcessor()).Process(parameters, text);

            return new List<string>(result);
        }
    }
}